@model OurWedding1.Models.Guest


@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "handleModalSubmit" }))
{
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.GuestId)
    @Html.Partial("_CreateOrEditByGuestGroup", Model)
    
    <button type="submit">OK</button>
}